package org.jeecg.modules.wmhb.service.impl;

import org.jeecg.modules.wmhb.entity.WmPurchaseRequisition;
import org.jeecg.modules.wmhb.mapper.WmPurchaseRequisitionMapper;
import org.jeecg.modules.wmhb.service.IWmPurchaseRequisitionService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 采购申请
 * @Author: jeecg-boot
 * @Date:   2025-04-22
 * @Version: V1.0
 */
@Service
public class WmPurchaseRequisitionServiceImpl extends ServiceImpl<WmPurchaseRequisitionMapper, WmPurchaseRequisition> implements IWmPurchaseRequisitionService {
    /**
     * 修改申请单状态
     * @param wmPurchaseRequisitionId
     * @param status
     */
    @Override
    public void modifyRequisitionStatus(String wmPurchaseRequisitionId, String status){
        baseMapper.modifyRequisitionStatus(wmPurchaseRequisitionId, status);

        //后续其他需要修改的逻辑，比如激活需求池状态等
    };
}
